package gao.xioalei.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface StreamClient {
    String INPUT = "webSocketInput";
    String OUTPUT = "webSocketOutput";

    @Input("webSocketInput")
    SubscribableChannel input();


    @Output("webSocketOutput")
    MessageChannel output();
}